package com.example.ymm.modules1.service.hl.kq;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.KqDayLog;
import com.example.ymm.modules1.query.kq.KqDayLogQueryCriteria;
import com.example.ymm.modules1.service.dto.heng.kq.UserDayLogDto;
import com.example.ymm.modules1.service.dto.heng.kq.UserDayLogQueryCriteria;

import java.util.List;

public interface KqDayLogService extends BaseService<KqDayLog> {

    List<KqDayLog> queryAll(KqDayLogQueryCriteria criteria);

    /**
     * 获取某天的day-log
     * @param criteria
     * @return
     */
    List<KqDayLog> getDayLogList(KqDayLogQueryCriteria criteria);



    /**
     * 考勤统计表格
     */
    TableList<UserDayLogDto>  userDaysCountTable(UserDayLogQueryCriteria criteria, YmPageDto ymPageDto);


    /**
     * 考勤统计
     */
    List<UserDayLogDto>  userDaysCount(UserDayLogQueryCriteria criteria);


    TableList<KqDayLog> userDayListTable(KqDayLogQueryCriteria criteria, YmPageDto ymPageDto);

}
